<?php
$form = new Form($user);
?>
<?if(!IS_AJAX):?>
<h1>Вход на сайт</h1>
<?endif;?>
<?=$form->start(array('action'=>'/user/login'))?>
<div class="errors" style="display: none"></div>
<table class="form">
    <?=$form->renderPartial(array('login','password')) ?>
    <tr class="save">
        <td colspan="3"><button type="submit">Войти</button></td>
    </tr>
</table>
<?=$form->end();?>